<div class="wrapper-1">
  <div class="wrapper-2">
    <div class="wrapper-3">
      <div class="left-bg">
        <div class="right-bg">
          <div id="middle">
            <div id="middle-expand">
              <div id="main">
                <div id="main-shift">
                  <div class="contentleft-bg">
                    <div class="contentright-bg">
                      <div id="mainmiddle">
                        <div id="mainmiddle-expand">
                          <div id="content">
                            <div id="content-shift">
                              <div id="breadcrumbs"> <span class="breadcrumbs"> <a href="/">Home</a><a href="/train/TimeTableSchedule2013">Schedule 2013</a><span class="current"><?php echo $region['region_title']; ?></span></span> </div>
                              <div id="component" class="floatbox">
                                <div class="joomla columnwidth-310">
                                  <div class="article">
                                    <h2 style="display:none">Train from <?php echo $region['region_title']; ?></h2>
                                    <h3>Train from <?php echo $region['region_title']; ?></h3>
                                    <table class="trains" style="width: 715px;">
                                      <thead>
                                        <tr>
                                          <th scope="col"> To </th>
                                          <th>Train Name </th>
                                          <th scope="col">Hard Seat</th>
                                          <th scope="col">Soft Seat</th>
                                          <th scope="col">Hard Berth(6)</th>
                                          <th scope="col">Soft Berth(4)</th>
                                        </tr>
                                      </thead>
                                      <tbody>
                                      <?php if(isset($listdesti)){ foreach($listdesti as $key => $destina){ ?>
                                        <tr>
                                          <td><b><a href="<?php echo base_url()."train-from/".$destina['url']; ?>.html"><?php echo $destina['toname']; ?></a></b></td>
                                          <td><a href="#" target="_blank"><span style="color:#F60">Reunification Express Train</span></a></td>
                                          <td><a href="#"><?php if($destina['softseat'] != 0){ echo "<span><input class='radprice' dataname='Hard Seat' value='".$destina['softseat']."' name='rooms' type='radio' />&nbsp;$".$destina['softseat']."</span>"; }else{ echo "<span>N/A</span>";} ?></a></td>
                                          <td><a href="#"><?php if($destina['hardberth'] != 0){ echo "<span><input class='radprice' dataname='Soft Seat' value='".$destina['hardberth']."' name='rooms' type='radio' />&nbsp;$".$destina['hardberth']."</span>"; }else{ echo "<span>N/A</span>";} ?></a></td>
                                          <td><a href="#"><?php if($destina['softberth'] != 0){ echo "<span><input class='radprice' dataname='Hard Berth' value='".$destina['softberth']."' name='rooms' type='radio' />&nbsp;$".$destina['softberth']."</span>"; }else{ echo "<span>N/A</span>";} ?></a></td>
                                          <td><a href="#"><?php if($destina['vipberth'] != 0){ echo "<span><input class='radprice' dataname='Soft Berth' value='".$destina['vipberth']."' name='rooms' type='radio' />&nbsp;$".$destina['vipberth']."</span>"; }else{ echo "<span>N/A</span>";} ?></a></td>
                                        </tr>
                                        <?php } } ?>
                                      </tbody>
                                    </table>
                                    <hr class="dotted">
                                    <div class="regioninfo"><?php echo $region['region_des']; ?></div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                          <!-- content end --> 
                        </div>
                      </div>
                      <!-- mainmiddle end --> 
                    </div>
                  </div>
                </div>
              </div>
              <div id="right" style="min-height: 955px; ">
                <?php $this->load->view("public/tickets"); ?>
                <?php $this->load->view("public/advs"); ?>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="wrapper-b1">
  <div class="wrapper-b2">
    <div class="wrapper-b3"></div>
  </div>
</div>
</div>
</div>
</div>